home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #9 / CD 9 (Black) - 2001.iso / Pinball / System / UWindow.u / ScriptText3.TextBuffer < prev    next >
Unknown  |  2001-03-07  |  3.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4e 37 63 6c 61 73 73 20 |........|N7class |
|00000010| 55 57 69 6e 64 6f 77 55 | 52 4c 54 65 78 74 41 72 |UWindowU|RLTextAr|
|00000020| 65 61 20 65 78 70 61 6e | 64 73 20 55 57 69 6e 64 |ea expan|ds UWind|
|00000030| 6f 77 44 79 6e 61 6d 69 | 63 54 65 78 74 41 72 65 |owDynami|cTextAre|
|00000040| 61 3b 0d 0a 0d 0a 76 61 | 72 20 62 6f 6f 6c 20 62 |a;....va|r bool b|
|00000050| 52 65 6c 65 61 73 65 64 | 3b 0d 0a 0d 0a 66 75 6e |Released|;....fun|
|00000060| 63 74 69 6f 6e 20 42 65 | 66 6f 72 65 50 61 69 6e |ction Be|forePain|
|00000070| 74 28 43 61 6e 76 61 73 | 20 43 2c 20 66 6c 6f 61 |t(Canvas| C, floa|
|00000080| 74 20 58 2c 20 66 6c 6f | 61 74 20 59 29 0d 0a 7b |t X, flo|at Y)..{|
|00000090| 0d 0a 09 53 75 70 65 72 | 2e 42 65 66 6f 72 65 50 |...Super|.BeforeP|
|000000a0| 61 69 6e 74 28 43 2c 20 | 58 2c 20 59 29 3b 0d 0a |aint(C, |X, Y);..|
|000000b0| 09 43 75 72 73 6f 72 20 | 3d 20 52 6f 6f 74 2e 4e |.Cursor |= Root.N|
|000000c0| 6f 72 6d 61 6c 43 75 72 | 73 6f 72 3b 0d 0a 7d 0d |ormalCur|sor;..}.|
|000000d0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 61 69 6e |...funct|ion Pain|
|000000e0| 74 28 43 61 6e 76 61 73 | 20 43 2c 20 66 6c 6f 61 |t(Canvas| C, floa|
|000000f0| 74 20 58 2c 20 66 6c 6f | 61 74 20 59 29 0d 0a 7b |t X, flo|at Y)..{|
|00000100| 0d 0a 09 53 75 70 65 72 | 2e 50 61 69 6e 74 28 43 |...Super|.Paint(C|
|00000110| 2c 20 58 2c 20 59 29 3b | 0d 0a 09 62 52 65 6c 65 |, X, Y);|...bRele|
|00000120| 61 73 65 64 20 3d 20 46 | 61 6c 73 65 3b 0d 0a 7d |ased = F|alse;..}|
|00000130| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 54 65 78 |....func|tion Tex|
|00000140| 74 41 72 65 61 43 6c 69 | 70 54 65 78 74 28 43 61 |tAreaCli|pText(Ca|
|00000150| 6e 76 61 73 20 43 2c 20 | 66 6c 6f 61 74 20 44 72 |nvas C, |float Dr|
|00000160| 61 77 58 2c 20 66 6c 6f | 61 74 20 44 72 61 77 59 |awX, flo|at DrawY|
|00000170| 2c 20 63 6f 65 72 63 65 | 20 73 74 72 69 6e 67 20 |, coerce| string |
|00000180| 53 2c 20 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |S, optio|nal bool|
|00000190| 20 62 43 68 65 63 6b 48 | 6f 74 6b 65 79 29 0d 0a | bCheckH|otkey)..|
|000001a0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |{...loca|l float |
|000001b0| 58 2c 20 59 2c 20 57 2c | 20 48 3b 0d 0a 09 6c 6f |X, Y, W,| H;...lo|
|000001c0| 63 61 6c 20 66 6c 6f 61 | 74 20 43 6c 69 63 6b 58 |cal floa|t ClickX|
|000001d0| 2c 20 43 6c 69 63 6b 59 | 3b 0d 0a 09 6c 6f 63 61 |, ClickY|;...loca|
|000001e0| 6c 20 73 74 72 69 6e 67 | 20 54 65 78 74 2c 20 4e |l string| Text, N|
|000001f0| 65 78 74 42 6c 6f 63 6b | 3b 0d 0a 09 6c 6f 63 61 |extBlock|;...loca|
|00000200| 6c 20 62 79 74 65 20 62 | 4c 69 6e 6b 3b 0d 0a 09 |l byte b|Link;...|
|00000210| 6c 6f 63 61 6c 20 62 6f | 6f 6c 20 62 4f 76 65 72 |local bo|ol bOver|
|00000220| 4c 69 6e 6b 3b 0d 0a 0d | 0a 09 54 65 78 74 20 3d |Link;...|..Text =|
|00000230| 20 53 3b 0d 0a 09 58 20 | 3d 20 44 72 61 77 58 3b | S;...X |= DrawX;|
|00000240| 0d 0a 09 59 20 3d 20 44 | 72 61 77 59 3b 0d 0a 09 |...Y = D|rawY;...|
|00000250| 77 68 69 6c 65 28 54 65 | 78 74 20 21 3d 20 22 22 |while(Te|xt != ""|
|00000260| 29 0d 0a 09 7b 0d 0a 09 | 09 50 72 6f 63 65 73 73 |)...{...|.Process|
|00000270| 54 65 78 74 28 43 2c 20 | 54 65 78 74 2c 20 4e 65 |Text(C, |Text, Ne|
|00000280| 78 74 42 6c 6f 63 6b 2c | 20 57 2c 20 48 2c 20 62 |xtBlock,| W, H, b|
|00000290| 4c 69 6e 6b 29 3b 0d 0a | 09 09 69 66 28 62 4c 69 |Link);..|..if(bLi|
|000002a0| 6e 6b 20 21 3d 20 30 29 | 0d 0a 09 09 7b 0d 0a 09 |nk != 0)|....{...|
|000002b0| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 52 20 |..C.Draw|Color.R |
|000002c0| 3d 20 30 3b 0d 0a 09 09 | 09 43 2e 44 72 61 77 43 |= 0;....|.C.DrawC|
|000002d0| 6f 6c 6f 72 2e 47 20 3d | 20 30 3b 0d 0a 09 09 09 |olor.G =| 0;.....|
|000002e0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 42 20 3d 20 |C.DrawCo|lor.B = |
|000002f0| 32 35 35 3b 0d 0a 09 09 | 7d 0d 0a 09 09 65 6c 73 |255;....|}....els|
|00000300| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 43 2e 44 72 61 |e....{..|...C.Dra|
|00000310| 77 43 6f 6c 6f 72 2e 52 | 20 3d 20 32 35 35 3b 0d |wColor.R| = 255;.|
|00000320| 0a 09 09 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |....C.Dr|awColor.|
|00000330| 47 20 3d 20 32 35 35 3b | 0d 0a 09 09 09 43 2e 44 |G = 255;|.....C.D|
|00000340| 72 61 77 43 6f 6c 6f 72 | 2e 42 20 3d 20 32 35 35 |rawColor|.B = 255|
|00000350| 3b 0d 0a 09 09 7d 09 09 | 0d 0a 0d 0a 09 09 47 65 |;....}..|......Ge|
|00000360| 74 4d 6f 75 73 65 58 59 | 28 43 6c 69 63 6b 58 2c |tMouseXY|(ClickX,|
|00000370| 20 43 6c 69 63 6b 59 29 | 3b 0d 0a 09 09 62 4f 76 | ClickY)|;....bOv|
|00000380| 65 72 4c 69 6e 6b 20 3d | 20 62 4c 69 6e 6b 20 21 |erLink =| bLink !|
|00000390| 3d 20 30 20 26 26 20 44 | 72 61 77 58 20 3c 20 43 |= 0 && D|rawX < C|
|000003a0| 6c 69 63 6b 58 20 26 26 | 20 44 72 61 77 58 20 2b |lickX &&| DrawX +|
|000003b0| 20 57 20 3e 20 43 6c 69 | 63 6b 58 20 26 26 20 44 | W > Cli|ckX && D|
|000003c0| 72 61 77 59 20 3c 20 43 | 6c 69 63 6b 59 20 26 26 |rawY < C|lickY &&|
|000003d0| 20 44 72 61 77 59 20 2b | 20 48 20 3e 20 43 6c 69 | DrawY +| H > Cli|
|000003e0| 63 6b 59 3b 0d 0a 0d 0a | 09 09 69 66 28 62 4f 76 |ckY;....|..if(bOv|
|000003f0| 65 72 4c 69 6e 6b 29 0d | 0a 09 09 09 43 75 72 73 |erLink).|....Curs|
|00000400| 6f 72 20 3d 20 52 6f 6f | 74 2e 48 61 6e 64 43 75 |or = Roo|t.HandCu|
|00000410| 72 73 6f 72 3b 0d 0a 0d | 0a 09 09 69 66 28 62 4f |rsor;...|...if(bO|
|00000420| 76 65 72 4c 69 6e 6b 20 | 26 26 20 28 62 4d 6f 75 |verLink |&& (bMou|
|00000430| 73 65 44 6f 77 6e 20 7c | 7c 20 62 52 65 6c 65 61 |seDown ||| bRelea|
|00000440| 73 65 64 29 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |sed))...|.{.....i|
|00000450| 66 28 62 52 65 6c 65 61 | 73 65 64 29 0d 0a 09 09 |f(bRelea|sed)....|
|00000460| 09 7b 0d 0a 09 09 09 09 | 4c 6f 67 28 22 43 6c 69 |.{......|Log("Cli|
|00000470| 63 6b 65 64 20 55 52 4c | 3a 20 3e 3e 22 24 4e 65 |cked URL|: >>"$Ne|
|00000480| 78 74 42 6c 6f 63 6b 24 | 22 3c 3c 22 29 3b 0d 0a |xtBlock$|"<<");..|
|00000490| 09 09 09 09 69 66 28 20 | 4c 65 66 74 28 4e 65 78 |....if( |Left(Nex|
|000004a0| 74 42 6c 6f 63 6b 2c 20 | 37 29 20 7e 3d 20 22 68 |tBlock, |7) ~= "h|
|000004b0| 74 74 70 3a 2f 2f 22 20 | 29 0d 0a 09 09 09 09 09 |ttp://" |).......|
|000004c0| 47 65 74 50 6c 61 79 65 | 72 4f 77 6e 65 72 28 29 |GetPlaye|rOwner()|
|000004d0| 2e 43 6f 6e 73 6f 6c 65 | 43 6f 6d 6d 61 6e 64 28 |.Console|Command(|
|000004e0| 22 73 74 61 72 74 20 22 | 24 4e 65 78 74 42 6c 6f |"start "|$NextBlo|
|000004f0| 63 6b 29 3b 0d 0a 09 09 | 09 09 69 66 28 20 4c 65 |ck);....|..if( Le|
|00000500| 66 74 28 4e 65 78 74 42 | 6c 6f 63 6b 2c 20 36 29 |ft(NextB|lock, 6)|
|00000510| 20 7e 3d 20 22 66 74 70 | 3a 2f 2f 22 20 29 0d 0a | ~= "ftp|://" )..|
|00000520| 09 09 09 09 09 47 65 74 | 50 6c 61 79 65 72 4f 77 |.....Get|PlayerOw|
|00000530| 6e 65 72 28 29 2e 43 6f | 6e 73 6f 6c 65 43 6f 6d |ner().Co|nsoleCom|
|00000540| 6d 61 6e 64 28 22 73 74 | 61 72 74 20 22 24 4e 65 |mand("st|art "$Ne|
|00000550| 78 74 42 6c 6f 63 6b 29 | 3b 0d 0a 09 09 09 09 69 |xtBlock)|;......i|
|00000560| 66 28 20 4c 65 66 74 28 | 4e 65 78 74 42 6c 6f 63 |f( Left(|NextBloc|
|00000570| 6b 2c 20 39 29 20 7e 3d | 20 22 74 65 6c 6e 65 74 |k, 9) ~=| "telnet|
|00000580| 3a 2f 2f 22 20 29 0d 0a | 09 09 09 09 09 47 65 74 |://" )..|.....Get|
|00000590| 50 6c 61 79 65 72 4f 77 | 6e 65 72 28 29 2e 43 6f |PlayerOw|ner().Co|
|000005a0| 6e 73 6f 6c 65 43 6f 6d | 6d 61 6e 64 28 22 73 74 |nsoleCom|mand("st|
|000005b0| 61 72 74 20 22 24 4e 65 | 78 74 42 6c 6f 63 6b 29 |art "$Ne|xtBlock)|
|000005c0| 3b 0d 0a 09 09 09 09 69 | 66 28 20 4c 65 66 74 28 |;......i|f( Left(|
|000005d0| 4e 65 78 74 42 6c 6f 63 | 6b 2c 20 39 29 20 7e 3d |NextBloc|k, 9) ~=|
|000005e0| 20 22 67 6f 70 68 65 72 | 3a 2f 2f 22 20 29 0d 0a | "gopher|://" )..|
|000005f0| 09 09 09 09 09 47 65 74 | 50 6c 61 79 65 72 4f 77 |.....Get|PlayerOw|
|00000600| 6e 65 72 28 29 2e 43 6f | 6e 73 6f 6c 65 43 6f 6d |ner().Co|nsoleCom|
|00000610| 6d 61 6e 64 28 22 73 74 | 61 72 74 20 22 24 4e 65 |mand("st|art "$Ne|
|00000620| 78 74 42 6c 6f 63 6b 29 | 3b 0d 0a 09 09 09 09 69 |xtBlock)|;......i|
|00000630| 66 28 20 4c 65 66 74 28 | 4e 65 78 74 42 6c 6f 63 |f( Left(|NextBloc|
|00000640| 6b 2c 20 34 29 20 7e 3d | 20 22 77 77 77 2e 22 20 |k, 4) ~=| "www." |
|00000650| 29 0d 0a 09 09 09 09 09 | 47 65 74 50 6c 61 79 65 |).......|GetPlaye|
|00000660| 72 4f 77 6e 65 72 28 29 | 2e 43 6f 6e 73 6f 6c 65 |rOwner()|.Console|
|00000670| 43 6f 6d 6d 61 6e 64 28 | 22 73 74 61 72 74 20 68 |Command(|"start h|
|00000680| 74 74 70 3a 2f 2f 22 24 | 4e 65 78 74 42 6c 6f 63 |ttp://"$|NextBloc|
|00000690| 6b 29 3b 0d 0a 09 09 09 | 09 69 66 28 20 4c 65 66 |k);.....|.if( Lef|
|000006a0| 74 28 4e 65 78 74 42 6c | 6f 63 6b 2c 20 34 29 20 |t(NextBl|ock, 4) |
|000006b0| 7e 3d 20 22 66 74 70 2e | 22 20 29 0d 0a 09 09 09 |~= "ftp.|" ).....|
|000006c0| 09 09 47 65 74 50 6c 61 | 79 65 72 4f 77 6e 65 72 |..GetPla|yerOwner|
|000006d0| 28 29 2e 43 6f 6e 73 6f | 6c 65 43 6f 6d 6d 61 6e |().Conso|leComman|
|000006e0| 64 28 22 73 74 61 72 74 | 20 66 74 70 3a 2f 2f 22 |d("start| ftp://"|
|000006f0| 24 4e 65 78 74 42 6c 6f | 63 6b 29 3b 0d 0a 09 09 |$NextBlo|ck);....|
|00000700| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 69 66 28 20 |..else..|....if( |
|00000710| 4c 65 66 74 28 4e 65 78 | 74 42 6c 6f 63 6b 2c 20 |Left(Nex|tBlock, |
|00000720| 39 29 20 7e 3d 20 22 75 | 6e 72 65 61 6c 3a 2f 2f |9) ~= "u|nreal://|
|00000730| 22 20 29 0d 0a 09 09 09 | 09 09 4c 61 75 6e 63 68 |" ).....|..Launch|
|00000740| 55 6e 72 65 61 6c 55 52 | 4c 28 4e 65 78 74 42 6c |UnrealUR|L(NextBl|
|00000750| 6f 63 6b 29 3b 0d 0a 09 | 09 09 7d 0d 0a 09 09 09 |ock);...|..}.....|
|00000760| 65 6c 73 65 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |else....|.{......|
|00000770| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 52 20 3d 20 |C.DrawCo|lor.R = |
|00000780| 32 35 35 3b 0d 0a 09 09 | 09 09 43 2e 44 72 61 77 |255;....|..C.Draw|
|00000790| 43 6f 6c 6f 72 2e 47 20 | 3d 20 30 3b 0d 0a 09 09 |Color.G |= 0;....|
|000007a0| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 42 20 |..C.Draw|Color.B |
|000007b0| 3d 20 30 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 09 69 |= 0;....|.}.....i|
|000007c0| 66 28 62 52 65 6c 65 61 | 73 65 64 29 0d 0a 09 09 |f(bRelea|sed)....|
|000007d0| 09 09 62 52 65 6c 65 61 | 73 65 64 20 3d 20 46 61 |..bRelea|sed = Fa|
|000007e0| 6c 73 65 3b 0d 0a 09 09 | 7d 0d 0a 0d 0a 09 09 69 |lse;....|}......i|
|000007f0| 66 28 62 4c 69 6e 6b 20 | 21 3d 20 30 29 0d 0a 09 |f(bLink |!= 0)...|
|00000800| 09 09 44 72 61 77 53 74 | 72 65 74 63 68 65 64 54 |..DrawSt|retchedT|
|00000810| 65 78 74 75 72 65 28 43 | 2c 20 44 72 61 77 58 2c |exture(C|, DrawX,|
|00000820| 20 44 72 61 77 59 2b 48 | 2d 31 2c 20 57 2c 20 31 | DrawY+H|-1, W, 1|
|00000830| 2c 20 54 65 78 74 75 72 | 65 27 57 68 69 74 65 54 |, Textur|e'WhiteT|
|00000840| 65 78 74 75 72 65 27 29 | 3b 0d 0a 09 09 43 6c 69 |exture')|;....Cli|
|00000850| 70 54 65 78 74 28 43 2c | 20 44 72 61 77 58 2c 20 |pText(C,| DrawX, |
|00000860| 44 72 61 77 59 2c 20 4e | 65 78 74 42 6c 6f 63 6b |DrawY, N|extBlock|
|00000870| 29 3b 0d 0a 09 09 44 72 | 61 77 58 20 2b 3d 20 57 |);....Dr|awX += W|
|00000880| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00000890| 74 69 6f 6e 20 4c 61 75 | 6e 63 68 55 6e 72 65 61 |tion Lau|nchUnrea|
|000008a0| 6c 55 52 4c 28 73 74 72 | 69 6e 67 20 55 52 4c 29 |lURL(str|ing URL)|
|000008b0| 0d 0a 7b 0d 0a 09 47 65 | 74 50 6c 61 79 65 72 4f |..{...Ge|tPlayerO|
|000008c0| 77 6e 65 72 28 29 2e 43 | 6c 69 65 6e 74 54 72 61 |wner().C|lientTra|
|000008d0| 76 65 6c 28 55 52 4c 2c | 20 54 52 41 56 45 4c 5f |vel(URL,| TRAVEL_|
|000008e0| 41 62 73 6f 6c 75 74 65 | 2c 20 66 61 6c 73 65 29 |Absolute|, false)|
|000008f0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000900| 20 43 6c 69 63 6b 28 66 | 6c 6f 61 74 20 58 2c 20 | Click(f|loat X, |
|00000910| 66 6c 6f 61 74 20 59 29 | 0d 0a 7b 0d 0a 09 53 75 |float Y)|..{...Su|
|00000920| 70 65 72 2e 43 6c 69 63 | 6b 28 58 2c 20 59 29 3b |per.Clic|k(X, Y);|
|00000930| 0d 0a 09 62 52 65 6c 65 | 61 73 65 64 20 3d 20 54 |...bRele|ased = T|
|00000940| 72 75 65 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |rue;..}.|...funct|
|00000950| 69 6f 6e 20 50 72 6f 63 | 65 73 73 54 65 78 74 28 |ion Proc|essText(|
|00000960| 43 61 6e 76 61 73 20 43 | 2c 20 6f 75 74 20 73 74 |Canvas C|, out st|
|00000970| 72 69 6e 67 20 54 65 78 | 74 2c 20 6f 75 74 20 73 |ring Tex|t, out s|
|00000980| 74 72 69 6e 67 20 4e 65 | 78 74 42 6c 6f 63 6b 2c |tring Ne|xtBlock,|
|00000990| 20 6f 75 74 20 66 6c 6f | 61 74 20 57 2c 20 6f 75 | out flo|at W, ou|
|000009a0| 74 20 66 6c 6f 61 74 20 | 48 2c 20 6f 75 74 20 62 |t float |H, out b|
|000009b0| 79 74 65 20 62 4c 69 6e | 6b 29 0d 0a 7b 0d 0a 09 |yte bLin|k)..{...|
|000009c0| 6c 6f 63 61 6c 20 69 6e | 74 20 69 2c 20 6a 3b 0d |local in|t i, j;.|
|000009d0| 0a 0d 0a 09 69 20 3d 20 | 49 6e 53 74 72 28 54 65 |....i = |InStr(Te|
|000009e0| 78 74 2c 20 22 68 74 74 | 70 3a 2f 2f 22 29 3b 0d |xt, "htt|p://");.|
|000009f0| 0a 0d 0a 09 6a 20 3d 20 | 49 6e 53 74 72 28 54 65 |....j = |InStr(Te|
|00000a00| 78 74 2c 20 22 77 77 77 | 2e 22 29 3b 0d 0a 09 69 |xt, "www|.");...i|
|00000a10| 66 28 69 20 3d 3d 20 2d | 31 20 7c 7c 20 6a 20 3d |f(i == -|1 || j =|
|00000a20| 3d 20 2d 31 29 0d 0a 09 | 09 69 20 3d 20 4d 61 78 |= -1)...|.i = Max|
|00000a30| 28 69 2c 20 6a 29 3b 0d | 0a 09 65 6c 73 65 0d 0a |(i, j);.|..else..|
|00000a40| 09 09 69 20 3d 20 4d 69 | 6e 28 69 2c 20 6a 29 3b |..i = Mi|n(i, j);|
|00000a50| 0d 0a 0d 0a 09 6a 20 3d | 20 49 6e 53 74 72 28 54 |.....j =| InStr(T|
|00000a60| 65 78 74 2c 20 22 75 6e | 72 65 61 6c 3a 2f 2f 22 |ext, "un|real://"|
|00000a70| 29 3b 0d 0a 09 69 66 28 | 69 20 3d 3d 20 2d 31 20 |);...if(|i == -1 |
|00000a80| 7c 7c 20 6a 20 3d 3d 20 | 2d 31 29 0d 0a 09 09 69 ||| j == |-1)....i|
|00000a90| 20 3d 20 4d 61 78 28 69 | 2c 20 6a 29 3b 0d 0a 09 | = Max(i|, j);...|
|00000aa0| 65 6c 73 65 0d 0a 09 09 | 69 20 3d 20 4d 69 6e 28 |else....|i = Min(|
|00000ab0| 69 2c 20 6a 29 3b 0d 0a | 0d 0a 09 6a 20 3d 20 49 |i, j);..|...j = I|
|00000ac0| 6e 53 74 72 28 54 65 78 | 74 2c 20 22 66 74 70 3a |nStr(Tex|t, "ftp:|
|00000ad0| 2f 2f 22 29 3b 0d 0a 09 | 69 66 28 69 20 3d 3d 20 |//");...|if(i == |
|00000ae0| 2d 31 20 7c 7c 20 6a 20 | 3d 3d 20 2d 31 29 0d 0a |-1 || j |== -1)..|
|00000af0| 09 09 69 20 3d 20 4d 61 | 78 28 69 2c 20 6a 29 3b |..i = Ma|x(i, j);|
|00000b00| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 69 20 3d 20 4d |...else.|...i = M|
|00000b10| 69 6e 28 69 2c 20 6a 29 | 3b 0d 0a 0d 0a 09 6a 20 |in(i, j)|;.....j |
|00000b20| 3d 20 49 6e 53 74 72 28 | 54 65 78 74 2c 20 22 66 |= InStr(|Text, "f|
|00000b30| 74 70 2e 22 29 3b 0d 0a | 09 69 66 28 69 20 3d 3d |tp.");..|.if(i ==|
|00000b40| 20 2d 31 20 7c 7c 20 6a | 20 3d 3d 20 2d 31 29 0d | -1 || j| == -1).|
|00000b50| 0a 09 09 69 20 3d 20 4d | 61 78 28 69 2c 20 6a 29 |...i = M|ax(i, j)|
|00000b60| 3b 0d 0a 09 65 6c 73 65 | 0d 0a 09 09 69 20 3d 20 |;...else|....i = |
|00000b70| 4d 69 6e 28 69 2c 20 6a | 29 3b 0d 0a 0d 0a 09 6a |Min(i, j|);.....j|
|00000b80| 20 3d 20 49 6e 53 74 72 | 28 54 65 78 74 2c 20 22 | = InStr|(Text, "|
|00000b90| 74 65 6c 6e 65 74 3a 2f | 2f 22 29 3b 0d 0a 09 69 |telnet:/|/");...i|
|00000ba0| 66 28 69 20 3d 3d 20 2d | 31 20 7c 7c 20 6a 20 3d |f(i == -|1 || j =|
|00000bb0| 3d 20 2d 31 29 0d 0a 09 | 09 69 20 3d 20 4d 61 78 |= -1)...|.i = Max|
|00000bc0| 28 69 2c 20 6a 29 3b 0d | 0a 09 65 6c 73 65 0d 0a |(i, j);.|..else..|
|00000bd0| 09 09 69 20 3d 20 4d 69 | 6e 28 69 2c 20 6a 29 3b |..i = Mi|n(i, j);|
|00000be0| 0d 0a 0d 0a 09 6a 20 3d | 20 49 6e 53 74 72 28 54 |.....j =| InStr(T|
|00000bf0| 65 78 74 2c 20 22 67 6f | 70 68 65 72 3a 2f 2f 22 |ext, "go|pher://"|
|00000c00| 29 3b 0d 0a 09 69 66 28 | 69 20 3d 3d 20 2d 31 20 |);...if(|i == -1 |
|00000c10| 7c 7c 20 6a 20 3d 3d 20 | 2d 31 29 0d 0a 09 09 69 ||| j == |-1)....i|
|00000c20| 20 3d 20 4d 61 78 28 69 | 2c 20 6a 29 3b 0d 0a 09 | = Max(i|, j);...|
|00000c30| 65 6c 73 65 0d 0a 09 09 | 69 20 3d 20 4d 69 6e 28 |else....|i = Min(|
|00000c40| 69 2c 20 6a 29 3b 0d 0a | 0d 0a 09 62 4c 69 6e 6b |i, j);..|...bLink|
|00000c50| 20 3d 20 30 3b 0d 0a 0d | 0a 09 69 66 28 69 20 3d | = 0;...|..if(i =|
|00000c60| 3d 20 2d 31 29 0d 0a 09 | 7b 0d 0a 09 09 4e 65 78 |= -1)...|{....Nex|
|00000c70| 74 42 6c 6f 63 6b 20 3d | 20 54 65 78 74 3b 0d 0a |tBlock =| Text;..|
|00000c80| 09 09 54 65 78 74 20 3d | 20 22 22 3b 0d 0a 09 7d |..Text =| "";...}|
|00000c90| 0d 0a 09 65 6c 73 65 0d | 0a 09 69 66 28 69 20 3d |...else.|..if(i =|
|00000ca0| 3d 20 30 29 0d 0a 09 7b | 0d 0a 09 09 62 4c 69 6e |= 0)...{|....bLin|
|00000cb0| 6b 20 3d 20 31 3b 0d 0a | 0d 0a 09 09 69 20 3d 20 |k = 1;..|....i = |
|00000cc0| 49 6e 53 74 72 28 54 65 | 78 74 2c 20 22 20 22 29 |InStr(Te|xt, " ")|
|00000cd0| 3b 0d 0a 09 09 69 66 28 | 69 20 3d 3d 20 2d 31 29 |;....if(|i == -1)|
|00000ce0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 4e 65 78 74 42 6c |....{...|..NextBl|
|00000cf0| 6f 63 6b 20 3d 20 54 65 | 78 74 3b 0d 0a 09 09 09 |ock = Te|xt;.....|
|00000d00| 54 65 78 74 20 3d 20 22 | 22 3b 0d 0a 09 09 7d 0d |Text = "|";....}.|
|00000d10| 0a 09 09 65 6c 73 65 0d | 0a 09 09 7b 0d 0a 09 09 |...else.|...{....|
|00000d20| 09 4e 65 78 74 42 6c 6f | 63 6b 20 3d 20 4c 65 66 |.NextBlo|ck = Lef|
|00000d30| 74 28 54 65 78 74 2c 20 | 69 29 3b 0d 0a 09 09 09 |t(Text, |i);.....|
|00000d40| 54 65 78 74 20 3d 20 4d | 69 64 28 54 65 78 74 2c |Text = M|id(Text,|
|00000d50| 20 69 29 3b 0d 0a 09 09 | 7d 09 09 09 09 0d 0a 09 | i);....|}.......|
|00000d60| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |}...else|...{....|
|00000d70| 4e 65 78 74 42 6c 6f 63 | 6b 20 3d 20 4c 65 66 74 |NextBloc|k = Left|
|00000d80| 28 54 65 78 74 2c 20 69 | 29 3b 0d 0a 09 09 54 65 |(Text, i|);....Te|
|00000d90| 78 74 20 3d 20 4d 69 64 | 28 54 65 78 74 2c 20 69 |xt = Mid|(Text, i|
|00000da0| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 54 65 78 74 41 |);...}..|...TextA|
|00000db0| 72 65 61 54 65 78 74 53 | 69 7a 65 28 43 2c 20 4e |reaTextS|ize(C, N|
|00000dc0| 65 78 74 42 6c 6f 63 6b | 2c 20 57 2c 20 48 29 3b |extBlock|, W, H);|
|00000dd0| 0d 0a 7d 0d 0a 0d 0a 00 | |..}.....| |
+--------+-------------------------+-------------------------+--------+--------+